package com.zzt.cps.sdk.comm.res;

/**
 * Copyright: Copyright (c) 2018  zteits
 *
 * @ClassName: com.zzt.cps.sdk.comm.res
 * @Description:
 * @version: v1.0.0
 * @author: atao
 * @date: 2018/7/4   下午4:08
 * Modification History:
 * Date         Author          Version      Description
 * ---------------------------------------------------------*
 * 2018/7/4      atao          v1.0.0          创建
 */
public class ApiResult<T> {

    /**
     * 请求ID 本次请求对应的请求ID 查日志的时候方便
     */
    private String reqId;

    /**
     * 错误码
     */
    private String code;

    /**
     * 错误信息
     */
    private String msg;

    /**
     * 返回数据
     */
    private T data;





    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }
}
